package com.headfirst.CreateMode.factory.factorymethod.myEnums;

public enum PizzaType {
    CHEESE((byte)1,"cheese"),
    CLAM((byte)2,"clam"),
    PEPPERONI((byte)3,"pepperoni"),
    VEGGIE((byte)4,"veggie"),
    CLASSIC((byte)5,"original");

    private final byte type;
    private final String desc;

    PizzaType(byte type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public byte getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
